package leetcode.code0060;

import leetcode.IDebug;
import leetcode.helper.HelpDebug;

public abstract class Solution60 implements IDebug {

	public abstract String getPermutation(int n, int k);

	@Override
	public void debug1() {
		int n = 3;
		int k = 3;
		String e = "213";
		String r = this.getPermutation(n, k);
		HelpDebug.compare(e, r);
	}

	@Override
	public void debug2() {
		int n = 4;
		int k = 9;
		String e = "2314";
		String r = this.getPermutation(n, k);
		HelpDebug.compare(e, r);
	}

	@Override
	public void debug3() {
		int n = 3;
		int k = 1;
		String e = "123";
		String r = this.getPermutation(n, k);
		HelpDebug.compare(e, r);
	}

	@Override
	public void debug4() {
		int n = 3;
		int k = 2;
		String e = "132";
		String r = this.getPermutation(n, k);
		HelpDebug.compare(e, r);
	}

}
